home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / faq / comp / 3b1_faq / part1 next >
Text File  |  1993-11-28  |  40KB  |  947 lines

  1. Newsgroups: comp.sys.3b1,comp.answers,news.answers
  2. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!usc!cs.utexas.edu!uunet!mnemosyne.cs.du.edu!nyx10!jbunch
  3. From: jbunch@nyx10.cs.du.edu (John B. Bunch)
  4. Subject: comp.sys.3b1 FAQ part1
  5. Message-ID: <1993Nov29.023542.5998@mnemosyne.cs.du.edu>
  6. Followup-To: comp.sys.3b1
  7. Summary: This Posting contains a list of Frequently Asked Questions (and
  8.      answers) about 3b1 computers.  It should be read by all who want
  9.      to participate in the comp.sys.3b1 newsgroup. 
  10. X-Disclaimer: Nyx is a public access Unix system run by the University
  11.      of Denver for the Denver community.  The University has neither
  12.      control over nor responsibility for the opinions of users.
  13. Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
  14. Reply-To: 3b1-faq@nyx.cs.du.edu
  15. Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept.
  16. Date: Mon, 29 Nov 93 02:35:42 GMT
  17. Approved: news-answers-request@MIT.Edu
  18. Expires: Fri, 14 Jan 1994 00:00:00 GMT
  19. Lines: 925
  20. Xref: senator-bedfellow.mit.edu comp.sys.3b1:9236 comp.answers:2813 news.answers:15137
  21.  
  22.  
  23.  
  24. Archive-name: 3b1-faq/part1
  25. Version: $Id: 3b1-faq-part1,v 2.3 1992/06/30 23:17:26 jbunch 
  26.  
  27.  
  28.  
  29.  
  30. ----------------------------------------------------------------------
  31. | Answers to some frequently asked questions about the AT&T UNIX PC, |
  32. |     as well as some frequent problems, hints, and solutions.         |
  33. ----------------------------------------------------------------------
  34. [$Revision: 2.3 $ $Date: 92/06/30 23:17:48 $]
  35. Send updates to 3b1-faq@nyx.cs.du.edu.
  36.  
  37.         Part 1 of 2
  38.  
  39. This article contains answers to the following questions:
  40. 1)  What exactly are the AT&T UNIX PC, PC7300, and 3B1?
  41. 2)  What is the operating system?  Its origins?
  42. 3)  What are the "OSU Archives"?
  43. 4)  Who supports these machines?  Are there any user groups?
  44. 5)  Where can I get my machine serviced or fixed?
  45. 6)  How do I get my free Personal Calendar program?
  46. 7)  What is "THE STORE!" and how can I access it?
  47. 8)  Is there any GNU software available?
  48. 9)  Is the X Window system available for the UNIX PC?
  49. 10) What's MGR?
  50. 11) How can I get a full 360kB when I format a MS-DOS floppy on the UNIX PC?
  51. 12) Are there any other utilities for fiddling with MS-DOS floppies?
  52. 13) What commercial software was available for the UNIX PC?
  53. 14) Can I use the GNU C compiler in place of the hard-to-find development set?
  54. 15) What do I with old object-file archives?
  55. 16) How do I restore from a backup when one of the floppies is bad?
  56. 17) How can I make a floppy-disk-based UNIX for fsck'ing the hard drive?
  57. 18) How can I get the machine to ask the device and program to boot from?
  58. 19) How do I get multiple login windows? 
  59. 20) What the heck is a +IN suffix on a file?
  60. 21) What do the HDERR (FDERR, or TPERR) messages in /usr/adm/unix.log mean?
  61. 22) Why are the header files missing after an install of the Development Set?
  62. 23) Why is the machine is booting over and over?
  63. 24) Is HoneyDanBer UUCP available to replace the stock uucp software?
  64. 25) Why doesn't the On-Board Modem (OBM) work with some other modems?
  65. 26) How do I get my on-board modem to be a dial-out-only modem?
  66. 27) Does the on-board modem support 2400 bps?
  67. 28) Why aren't the lpadmin, accept, and reject commands working right?
  68. 29) Why are all the jobs on the printer always followed by a formfeed?
  69. 30) Why can't I send bitmapped images to the printer correctly?
  70. 31) How do I configure a Hayes compatible external modem on the UNIX PC?
  71. 32) Any tips on building Cnews?
  72. 33) What are lipc and nipc, and how can I use nipc instead of lipc?
  73. 34) What third-party hardware is available?
  74. 35) Can I put a 68881 math coprocessor in my machine?
  75.  
  76. ------------------------------------------------------------------------
  77. -- General -------------------------------------------------------------
  78.  
  79. ------------------------------------------------------------------------
  80. 1)  What exactly are the AT&T UNIX PC, PC7300, and 3B1?
  81.  
  82.     The name "UNIX PC" is a catch-all name for a set of machines
  83. developed by Convergent Technologies (now part of Unisys) and sold by
  84. AT&T in the mid to late 80's, all having the same basic configuration:
  85.  
  86.     o 10MHz 68010 with custom MMU
  87.     o demand paged, virtual memory UNIX (max. process size 2.5M)
  88.     o 10/20/40/67MB disk
  89.     o 512k/1M/2MB RAM
  90.     o monochrome, quasi-Hercules display
  91.  
  92.     As marketing strategies changed and basic features were added,
  93. the original offering (the PC7300) became known as the 3B1.  The 7300
  94. machines featured 512k RAM on the motherboard with a 10 or 20MB disk.
  95. The later 3B1 machines had 1M or 2M on the motherboard, and came with
  96. a 40 or 67MB disk.  Accommodating the larger, full-height drives in the
  97. 3B1 required that a hump be added to the sloping, wedge-shaped case
  98. top.  The 3B1 also has a heftier power supply.
  99.  
  100. ------------------------------------------------------------------------
  101. 2)  What is the operating system?  Its origins?
  102.  
  103.     The operating system is based on UNIX System V Release 2, with
  104. extensions from BSD 4.1, BSD 4.2, System V Release 3 and Convergent
  105. Technologies.  The most recent version is 3.51, with a 3.51m FIXDISK
  106. (2.0) available.  The FIXDISK was available from AT&T directly, but is
  107. now only available on the OSU Archives as FIXDISK2.0+IN.
  108.  
  109. ------------------------------------------------------------------------
  110. 3)  What are the "OSU Archives"?
  111.  
  112.     OSU-CIS is an Ohio State University computer system which
  113. holds a very large selection of UNIX-PC-related programs and files.
  114. David Brierley (dave@galaxia.network23.com) is the current maintainer
  115. of the archives.  Ohio State graciously allows both anonymous FTP and
  116. UUCP access to this archive.  For FTP from the Internet, access is via
  117. the machine archive.cis.ohio-state.edu (IP address: 128.146.8.52).
  118.  
  119. They recommend the following L.sys (Systems) entries:
  120.  
  121.     #
  122.     # Direct Trailblazer
  123.     # dead, dead, dead...sigh.  for the 3rd time in as many months.
  124.     #
  125.     #osu-cis Any ACU 19200 1-614-292-5112 in:--in:--in: Uanon
  126.     #
  127.     # Direct V.32 (MNP 4)
  128.     # dead, dead, dead...sigh.
  129.     #
  130.     #osu-cis Any ACU 9600 1-614-292-1153 in:--in:--in: Uanon
  131.     #
  132.     # Micom port selector, at 1200, 2400, or 9600 bps.
  133.     # Replace ##'s below with 12, 24, or 96 (both speed and phone number).
  134.     # Can't use MNP with V.32 on -3196
  135.     #
  136.     osu-cis Any ACU ##00 1-614-292-31## "" \r\c Name? osu-cis nected \c GO \d\r\d\r\d\r\d\r\d\r\d\r\d\r in:--in:--in: Uanon
  137.  
  138.     The file ~/att7300/README.Z contains a detailed list of the
  139. archive's contents and should be the first thing to get.
  140.  
  141.     Another source of software for Internet-connected sites is the
  142. anonymous FTP area on ftp.cs.caltech.edu.  Andy Fyfe
  143. (andy@cs.caltech.edu) maintains new versions of TeX and GNU utilities
  144. in the pub/3b1 directory.
  145.  
  146. ------------------------------------------------------------------------
  147. 4)  Who supports these machines?  Are there any user groups?
  148.  
  149.     The primary support for the machine is the Usenet newsgroup
  150. comp.sys.3b1.  There are a lot of dedicated people who enjoy these
  151. machines and post a wealth of information to the network.
  152.  
  153.     If you are in the Silicon Valley area, contact Thad Floryan
  154. (thad@btr.com) for information on how to go to the "AT&T UNIX User's
  155. Group" meeting on the fourth Wednesday of every month.  Although it's
  156. a generic AT&T UNIX group, a large number of the members (including
  157. Thad) own UNIX PC's.
  158.  
  159. ------------------------------------------------------------------------
  160. 5)  Where can I get my machine serviced or fixed?
  161.  
  162.     This is difficult, since AT&T no longer supports the machine.
  163. The only remaining possibility appears to be ``A Small Computer Repair
  164. Company'' (ASCRC).  They will diagnose your problem, and repair or
  165. replace the part that is broken.  They will try their hardest to
  166. repair the item first.  You need to send the computer (or just the
  167. component in question) to them.  They will repair/replace it and ship
  168. it back.  Their turn-around time is usually 48-72 hours.  They repair
  169. AT&T's 6300, 6300+, 7300, 3B1 and UNIX PC computers. For more
  170. information and/or to arrange servicing, contact:
  171.  
  172.         A Small Computer Repair Company
  173.         5762 Dichondra Place
  174.         Newark, CA  94560
  175.         (415) 430-9226 or (415) 793-6980
  176.  
  177. ------------------------------------------------------------------------
  178. -- Software ------------------------------------------------------------
  179.  
  180. ------------------------------------------------------------------------
  181. 6)  How do I get my free Personal Calendar program?
  182.  
  183.     Enclosed with the documentation of many or all UNIX PC's was a
  184. card which you could send in to receive a free copy of the Personal
  185. Calendar program.  The machine is discontinued, so sending in the card
  186. now won't accomplish anything, but that doesn't mean that you're out
  187. of luck.  Many machines were shipped with the calendar program in
  188. /etc/fixes.  Install it as follows (the name of the program is
  189. "pcal"):
  190.  
  191.     Append this to your /usr/lib/ua/Office file:
  192.  
  193.         Name=Calendar
  194.         Default = Open
  195.         Open=EXEC -d /usr/bin/pcal -c
  196.         Help=EXEC -d /usr/bin/uahelp -h /usr/lib/ua/ua.hlp -t Calendar
  197.  
  198.     Append this to your /usr/lib/ua/Preferences file:
  199.  
  200.         Name=Calendar
  201.         Default = Open
  202.         Open=EXEC -d /usr/bin/pcal -p
  203.         Help=EXEC -d /usr/bin/uahelp -h /usr/lib/ua/ua.hlp -t Calendar
  204.  
  205.     If you are using the pcal that is located in /etc/fixes:
  206.  
  207.         $ su
  208.         Password:
  209.         # mv /etc/fixes/pcal /usr/bin
  210.         # mv /etc/fixes/pcal.hlp /usr/lib/ua
  211.         # chown bin /usr/bin/pcal /usr/lib/ua/pcal.hlp
  212.         # chgrp bin /usr/bin/pcal /usr/lib/ua/pcal.hlp
  213.         # chmod 755 /usr/bin/pcal 
  214.         # chmod 644 /usr/lib/ua/pcal.hlp
  215.  
  216. ------------------------------------------------------------------------
  217. 7)  What is "THE STORE!" and how can I access it?
  218.  
  219.     THE STORE! was owned and operated by AT&T, but is no longer
  220. available for dialup uucp.  All publicly accessible software that was
  221. formerly available there has been moved and archived on the OSU
  222. archives (see above).
  223.  
  224. ------------------------------------------------------------------------
  225. 8)  Is there any GNU software available?
  226.  
  227.     There are fairly recent versions of gcc, g++, gas, gdb, and
  228. emacs as binary-only cpio archives on OSU as well at CalTech (see
  229. above).
  230.  
  231. ------------------------------------------------------------------------
  232. 9)  Is the X Window system available for the UNIX PC?
  233.  
  234.     No, X has not been ported, and probably won't ever be ported
  235. to the UNIX PC.  X is quite large, and there have been several
  236. discussions about porting it in comp.sys.3b1, but it's probably not
  237. worth the effort.
  238.  
  239. ------------------------------------------------------------------------
  240. 10) What's MGR?
  241.  
  242.     MGR is an alternative windowing environment developed by Steve
  243. Uhler at Bellcore and ported to the UNIX PC by Brad Bosch and Brian
  244. Botton.  The MGR windowing environment can replace the standard
  245. /dev/window environment on the UNIX PC quite nicely (it does prevent
  246. some UNIX PC specific programs from being run since the wind.o
  247. loadable device driver is not loaded).  MGR's user interface is quite
  248. similar to a SunWindows environment, and raster operations are quite
  249. fast.  MGR is a user program, not a driver (besides the pty driver),
  250. so it doesn't take up precious kernel space.  It does require a
  251. hardware modification called the VIDPAL.  The VIDPAL (developed by
  252. Brian Botton [...!att!iexist!botton]) is a daughterboard that sits
  253. sandwiched between the 68010 CPU and the motherboard and allows direct
  254. access to video memory from a user process.
  255.  
  256.     At one time, Brian had provided VIDPAL kits but no longer does
  257. so.  If you want to try out MGR, but can't get a VIDPAL board, you may
  258. want to try out John Milton's VIDPAL emulator -- a software-only
  259. solution to video memory access.  It is certainly slower than a real
  260. VIDPAL, but is interesting none the less.  The VIDPAL emulator was
  261. posted to comp.sources.3b1 and so should be archived at standard
  262. archive sites like uunet.uu.net.
  263.  
  264.     A beta source distribution of MGR is on OSU, and can also be
  265. gotten via anonymous ftp from max.physics.sunysb.edu (129.49.21.100).
  266.  
  267. ------------------------------------------------------------------------
  268. 11) How can I get a full 360kB when I format a MS-DOS floppy on the UNIX PC?
  269.  
  270.     The md_format program defaults to formatting floppies with 8
  271. tracks per sector (320kB).  Use the "-9" option to get 9 tracks per
  272. sector (360kB).
  273.  
  274.     A further suggestion is to get windy ("windy.cpio.Z" at OSU)
  275. and use it to run the md_format program, since md_format is one of
  276. those which tends to turn your full-screen UNIX window into a little,
  277. horrible-looking window.  Windy fixes this by running the command in
  278. its own window.
  279.  
  280. ------------------------------------------------------------------------
  281. 12) Are there any other utilities for fiddling with MS-DOS floppies?
  282.  
  283.     The best of the bunch is Emmet P. Gray's Mtools package, which
  284. is available on OSU.  The utilities in this package allow one to copy
  285. files, delete files, rename files, make directories, format disks,
  286. etc.  The 2.0 version of Mtools also supports the C:, D:, etc. drive
  287. partitions of the DOS-73 emulator.
  288.  
  289. ------------------------------------------------------------------------
  290. 13) What commercial software was available for the UNIX PC?
  291.  
  292.     What follows is a list Steve Urich (beyo@beyonet.UUCP) typed
  293. in from an old TRC catalog listing UNIX PC commercial software.  At
  294. the end of this list are a few more products seen by other folks on
  295. Usenet.
  296.  
  297.                 UNIX PC SOFTWARE
  298.  
  299. Model        Description
  300. AT&T650002    GSS Terminal. Access to host graphics; Tektronix 4014 EGM
  301. AT&T650005    3270+ Emulator. For SNA networks through dial-up or dedicated
  302.         lines
  303. AT&T650007    AT&T Electronic Mail. menu driven with lots of options for
  304.         sending notes & files
  305. AT&T650008    TCP/IP Ethernet, includes ICMP, UDP, NVT, PTP, SMPT, TFTP &
  306.         remote cmnds
  307. AT&T650101    Voice Mail Software. Send and receive text and vioce mail
  308. AT&T650S01    UNIX PC Network. Starlan messaging, file transfer and e-mail
  309. AT&T650S02    UNIX PC Server. Starlan file server for MS-DOS networks.
  310. AT&T651002    GSS Drivers+ VDI based software for printers
  311. AT&T651003    UNIX System V Release 3.51 
  312. AT&T651004    GSS Toolkit. Graphics programming including metafile, plotting
  313.         & windows.
  314. AT&T651005    GSS Metafile Interpreter. Library of functions for VDM standard
  315. AT&T651006    GSS GKS. C tool implements the GKS standard
  316. AT&T651007    GSS Plotting System. Chart building capabilities.
  317. AT&T651008    GSS Window Manager for C language windowing.
  318. AT&T651010    Informix C-ISAM. Tool for ISAM without a full RDBMS.
  319. AT&T651018    Development Tools. Commercial and scientific ISAM sort/merge
  320. AT&T651021    UNIX Utilities 3.51.
  321. AT&T651201    MS Basic. Basic with over 120 commands from Microsoft.
  322. AT&T651202    SMC Basic. Business Basic III compatability.
  323. AT&T651203    SMC Run Time. Executable only; non-development version.
  324. AT&T651204    RM Cobol. 1974 ANSI standard; certified by GSA.
  325. AT&T651205    RM Cobol Run Time. Executable only; non-development version.
  326. AT&T651209    LPI Fortran. Fortran 77 meeting ANSI X3.9-1978
  327. AT&T651210    LPI Pascal. ANSI/IEEE standard supported by LPI Debug.
  328. AT&T651211    LPI C Full implementation with LPI's modular component 
  329.         architecture.
  330. AT&T651216    LPI Debug. Interactive source level debugger works with all
  331.         LPI products.
  332. AT&T651219    RM Fortran. High preformance implementation of F77 and ANSI
  333.         3.9-78.
  334. AT&T651221    Animator. Integrated with MF Level II Cobol.
  335. AT&T651223    Cobol LVL II. ANSI-74, ISAM tools, source compatible with 
  336.         compact Cobol II
  337. AT&T651224    Forms II. Visual programming tool for screen based forms
  338.         generation.
  339. AT&T651226    Cobol LVL II Run Time. Executable only; non-development version
  340. AT&T651227    SVS Fortran. ANSI-77 including Symbolic Debugger.
  341. AT&T651229    SVS Pascal. Combines ISO and UCSD standards
  342. AT&T651232    AT&T BASIC Interpreter. Standard Basic with many extensions
  343. AT&T651233    AT&T BASIC Compiler. Full implementation of ANSI X3.60-78 with
  344.         extensions.
  345. AT&T651237    UNIFY. Multi-user RDBMS.
  346. AT&T651702    dBASE III. Ashton-Tate and AT&T
  347. AT&T651706    QUICKCODE III. Automate dBASE III programming.
  348. AT&T651707    dUTIL. Toolkit for dBASE III programmers.
  349. AT&T651713    FILE-IT. Easy to use personal DBMS which builds informix files
  350.         thru menus.
  351. AT&T651713    INFORMIX. The most flexible true relational multi-user
  352.         programming language.
  353. AT&T651714    INFORMIX Run Time. Executable versions of Informix programs.
  354. AT&T651715    SMART DBMS. Powerful relational database integrated with the
  355.         Smart package.
  356. AT&T651L60    BASIC ORACLE. Fully compatible with IBM's SQL/DS and DB2
  357. AT&T651L61    TURBO ORACLE. ANSI Standard SQL; C language precompiler.
  358. AT&T652004    Multiplan. Microsoft's spreadsheet solution.
  359. AT&T652009    GSS CHART. Interactive standalone package for mainframe quality
  360.         graphics.
  361. AT&T652010    GSS Sound Pres. Fully featured interactive graphics on a wide
  362.         variety of devices.
  363. AT&T652016    AT&T SUPERCOMP 20. The multiuser standard of spreadsheets.
  364. AT&T652017    BUSINESS GRAPHICS. Turn your 20/20 data into charts.
  365.         (Requires Supercomp 20).
  366. AT&T652022    PAINT POWER. Sophisticated but easy to use drawing package.
  367. AT&T652026    SMART SFTWR SYS. Database-Spreadsheet-Wordprocessor.
  368. AT&T652029    TEAM POWER. Office work groups for 2 to 5 users sharing all
  369.         resources.
  370. AT&T652202    MS WORD. Microsoft's professional word processor for UNIX.
  371. AT&T652204    AT&T Word Processor. Easy to use word processor.
  372. AT&T652208    Crystalwriter. Powerful word processing with English language
  373.         commands.
  374. AT&T652209    Wordstar 2000. MicroPro's best selling word processor.
  375. AT&T652210    SMART WORD PROCESSOR. Professional word processor which works
  376.         with Smart.
  377. AT&T653001    BUSINESS ACCTING. Complete business accounting system.
  378. AT&T653002    OC/INV. Complete package for managing incoming orders and 
  379.         product control.
  380. AT&T653003    PAYROLL. Complete payroll and personnel management.
  381. AT&T653004    A/P. Comprehensive control system-can be integrated with G/L.
  382. AT&T653005    A/R. Maintains customer profiles and accounts-can be integrated
  383.         with G/L.
  384. AT&T653006    GENERAL LEDGER. Fully automated package for maintaining
  385.         business records.
  386.  
  387. AT&T??????    Wordmarc Composer.  Word processing package.
  388. AT&T??????    Pegasys.  Computer-aided design.
  389. AT&T??????    Image Director
  390. AT&T??????    Samna.  Word processor.
  391. AT&T??????    Q-Office.  Office integration
  392. AT&T??????    User Agent Design Tool.
  393.  
  394. ------------------------------------------------------------------------
  395. -- Software development ------------------------------------------------
  396.  
  397. ------------------------------------------------------------------------
  398. 14) Can I use the GNU C compiler in place of the hard-to-find development set?
  399.  
  400.     In theory, anyway, most of what you need from the Development
  401. Set can be obtained elsewhere.  There are at least five things that
  402. you need to do C programming on the UNIX PC:
  403.     o a C compiler
  404.         Use GCC (binary available in languages/gcc-gas.tar.Z
  405.         on OSU-CIS)
  406.     o an assembler
  407.         Use GAS (binary available in languages/gcc-gas.tar.Z
  408.         on OSU-CIS)
  409.     o a linker/loader (/bin/ld)
  410.         This is included in the Foundation Set.
  411.     o system header files
  412.         Alex Crain (alex@umbc3.umbc.edu) has created a set of
  413.         ANSI header files which appeared in Volume 1, Issue 49
  414.         of comp.sources.3b1, with one patch.
  415.     o libraries
  416.         This is the tough one.  There are a bunch of libraries
  417.         that come the Development Set which would be difficult
  418.         to replace.  One of the most important (/lib/libc.a)
  419.         is on the Encryption Set disks in the Foundation Set.
  420.         Supposedly FIXDISK2.0 contains one or more updated
  421.         libraries.  The network and OSU remain good sources
  422.         for strings, POSIX, dirent, etc. libraries.  Of
  423.         course, there are other libraries like /lib/libm.a
  424.         (math) and /lib/libld.a (COFF access) which might be
  425.         more difficult to replace.
  426.  
  427.     This writer hasn't actually heard of anyone actually pulling
  428. this feat off, but sometimes he has trouble paying attention. ("Eh?")
  429.  
  430.     (Thanks to Glenn Thobe for providing up-to-date information.)
  431.  
  432. ------------------------------------------------------------------------
  433. 15) What do I with old object-file archives?
  434.  
  435.     The object-file archive format was changed from release 3.0 to
  436. 3.5 of the operating system.  There is a utility to convert these
  437. archives to the new format.
  438.  
  439.         # convert oldarchive.a newarchive.a
  440.  
  441.     Or you can run:
  442.  
  443.         # arconvert
  444.         # file oldarchive.a newarchive.a
  445.         oldarchive.a: 5.0 archive
  446.         newarchive.a: 5.2 archive
  447.  
  448.     That will convert all the archives in /usr/lib and /lib that
  449. are in the old 5.0 archive format to the new 5.2 archive format.
  450.  
  451. ------------------------------------------------------------------------
  452. -- Administration ------------------------------------------------------
  453.  
  454. ------------------------------------------------------------------------
  455. 16) How do I restore from a backup when one of the floppies is bad?
  456.  
  457.     Get the public domain program called "afio".  It's available
  458. in the OSU archives.  It supports reading the floppy disk backup set,
  459. and will ignore errors and recover when it finds the next cpio ASCII
  460. header if you use the "-k" option.  The backup set must be written
  461. using cpio and the "-c" option must have been used during the writing
  462. of the diskettes.
  463.  
  464.     The syntax for afio to restore is:
  465.         # cd /
  466.         # afio -ivk /dev/rfp021
  467.               ^ use the k option to allow dealing with
  468.                 corrupted archives
  469.  
  470. ------------------------------------------------------------------------
  471. 17) How can I make a floppy-disk-based UNIX for fsck'ing the hard drive?
  472.  
  473.     Make a copy of the "Floppy Filesystem Disk" (Disk 3 of ##) of
  474. the Foundation Set as follows.  Insert the original floppy filesystem
  475. diskette, and have a formatted, 10 sectors/track diskette ready.  Type
  476. the "fpcp" command and copy it.
  477.  
  478.     Now that you have a copy, place a copy of /etc/fsck on it.
  479. While you're at it, save your /etc/inittab in case it gets destroyed
  480. in the future and you can't get the machine to boot.
  481.  
  482.         # mount /dev/fp021 /mnt
  483.         # cp /etc/fsck /mnt/etc/fsck
  484.         # cp /etc/inittab /mnt/etc/inittab.save
  485.         # sync
  486.         # umount /dev/fp021
  487.  
  488.     Now you have a disk that will help you do a standalone
  489. filesystem check.
  490.  
  491.     To use this, first boot the system using the "Floppy Boot
  492. Disk" (Disk 2 of ##).  It will stop and ask you to insert the Floppy
  493. Filesystem Disk.  Insert your copy instead.  When it comes to the
  494. first question, interrupt the script with <DEL> to get a "#" prompt.
  495.  
  496.     The disk is already mounted as /mnt, so unmount it:
  497.         # umount /dev/fp002
  498.         warning: /dev/fp002 not in mount table
  499.     Do your filesystem check:
  500.         # /etc/fsck -D -S /dev/rfp002
  501.     Reboot the system:
  502.         # sync
  503.         # sync
  504.         # reboot
  505.  
  506.     NOTE: the root filesystem is the floppy filesystem, so the
  507. "-s" option to fsck salvages the floppy root filesystem, not the root
  508. filesystem on the hard drive.  This is why "-s" is not used above.
  509.  
  510.     *** THE FOLLOWING IS NOT FOR THE UNINHIBITED OR CASUAL USER ***
  511.  
  512.     For the real UNIX hacker out there (who is fortunate enough to
  513. have a tape drive on your machine) you could grab the fp_unix.sh.Z,
  514. conf.sh.Z and kern.cpio.Z files from the OSU Archives.  This is a set
  515. of tools, along with the kernel object files for 3.51m, that will let
  516. you link in the tape driver (tp.o) to your floppy UNIX kernel and give
  517. you full control of the tape device from the floppy UNIX.  This is
  518. very handy for doing full backups or restores from the floppy!
  519.  
  520. ------------------------------------------------------------------------
  521. 18) How can I get the machine to ask the device and program to boot from?
  522.  
  523.     By default the UNIX PC is set up with the non-verbose system
  524. loader.  This can be changed to the "verbose" loader which will ask
  525. what program and device to load from.
  526.  
  527.     *** WARNING *** Any time you write to the disk device like the
  528. following, be extra careful that you type the correct device name.  A
  529. backup is always recommended.
  530.  
  531.     Insert a blank diskette in the floppy drive.
  532.         # fdfmt.vl
  533.         # /etc/ldrcpy /dev/rfp020 /dev/rfp000
  534.  
  535.     Reboot your machine and you'll be able to load from the floppy
  536. or the hard disk whatever program you desire (not that there is too
  537. much you can load).  It may be useful to copy the several diagnostic
  538. utilities to the hard disk (for easy retrieval).
  539.  
  540.     Insert your diagnostic disk ...
  541.         # mount /dev/fp021 /mnt -r
  542.         # mkdir /dgn
  543.         # cp /mnt/s4diag /dgn/s4diag
  544.         # umount /dev/fp021
  545.  
  546.     This can be repeated for diagnostics like, STARLAN, Voice
  547. Power, DOS-73, Floppy Tape, etc.  Name the diagnostic programs
  548. something unique (slndiag, vpdiag, dosdiag, etc.)  Now you can load
  549. from the hard disk /dgn/s4diag, /dgn/vpdiag, etc.. and have that
  550. diagnostic utility handy when needed.
  551.  
  552.     NOTE: After you do this procedure your system will not reboot
  553. automatically (after power failures) without some user input.
  554.  
  555. ------------------------------------------------------------------------
  556. 19) How do I get multiple login windows? 
  557.  
  558.     It is fairly easy to start up several windows with logins on
  559. them: all you need to do is add additional getty commands to the
  560. /etc/inittab file.  Don't be afraid to edit your /etc/inittab, even
  561. though there is a big warning at the top of the file -- nothing will
  562. happen if you are careful.
  563.  
  564.          vid:2:respawn:/etc/getty window 9600
  565.          vd2:2:respawn:/etc/getty window 9600
  566.          vd3:2:respawn:/etc/getty window 9600
  567.         ^ NOTE: in all cases there is a space character there.
  568.  
  569.     This will start up 3 windows with logins.  Using the
  570. <Shift><Suspd> key, you can cycle through all of them.
  571.  
  572.     Another option is to get the Boyd Ostroff's "wlogin" package,
  573. posted to comp.sources.3b1 and available from the archives.  This
  574. program can either replace or work with /etc/getty on the console and
  575. lets you have multiple overlapping 24 line x 80 character windows
  576. using a smaller font.  It will work with or without wmgr, smgr, ph and
  577. ua.  The number of windows and their position is fully configurable by
  578. the user.  If desired, it can provide a simple alternative windowing
  579. environment to the UA, allowing you to remove ua and all its
  580. associated files, thus freeing up over 1 MB of disk space.
  581.  
  582. ------------------------------------------------------------------------
  583. 20) What the heck is a +IN suffix on a file?
  584.  
  585.     On the UNIX PC, "+IN" denotes an "Installable File".  If you
  586. were to use the UA it would show that it's an Installable File.  The
  587. Installable format is just a normal cpio archive.  The file can be
  588. installed by hand by doing:
  589.  
  590.         # mkdir /tmp/install
  591.         # mv FILE+IN /tmp
  592.         # cd /tmp/install
  593.         # cpio -icduvmB < ../FILE+IN
  594.         [...]
  595.         # ./Install
  596.  
  597.     A list of other Suffixes appears in the file
  598. /usr/lib/ua/Suffixes.
  599.  
  600. ------------------------------------------------------------------------
  601. 21) What do the HDERR (FDERR, or TPERR) messages in /usr/adm/unix.log mean?
  602.  
  603.     There are several possible causes for these.  One of course is
  604. a bad disk, or a disk that has gone bad.  But one should check the
  605. other options before determining the disk is really bad.
  606.  
  607.     Dirty power supply contacts have been known to cause these
  608. problems.  Open the machine and clean the power supply contacts on the
  609. ribbon-type cable that goes from the supply to the motherboard.
  610.  
  611.     A weak or faulty power supply could also be your problem.
  612. Test the power supply voltages (with the hard drive and motherboard
  613. connected as a load), using some sort of Y-connector off the power
  614. cable to the hard drive.  Test the +12VDC and +5VDC supplies with a
  615. meter, and make sure they are within acceptable tolerances.  If they
  616. are too low, intermittent HDERRs will occur.  There are several
  617. adjustment screws on the power supply (marked +5, +12, -12) that can
  618. adjust these values.  Turning clockwise will increase the value, and
  619. counterclockwise will decrease it.  Faulty power can make a good hard
  620. disk or motherboard appear to be bad.
  621.  
  622.     More commonly you'll find FDERRs in your /usr/adm/unix.log
  623. file.  Every time you format a new floppy disk, you'll get at least
  624. one.  Floppy disks are prone to more errors, especially if you get
  625. those bargain basement brand types.
  626.  
  627.     TPERRs might appear if you have a bad or defective cartridge
  628. tape block.  If you start seeing a lot of these during your backup or
  629. verify phases, it would be a good idea to re-format the tape and run
  630. another surface check (to check for possibly bad streams, or good
  631. streams that have gone bad).
  632.  
  633. ------------------------------------------------------------------------
  634. 22) Why are the header files missing after an install of the Development Set?
  635.  
  636.     One of the packages' Install scripts (apparently that of
  637. "Curses/Terminfo Programmers Package"), copies curses.h to
  638. /usr/include anticipating that the directory has already been created
  639. by a previous package's Install script.  If /usr/include doesn't exist
  640. yet because the packages weren't installed in the right order, the
  641. Install script will make a *file* called /usr/include, which is really
  642. curses.h.
  643.  
  644.     To prevent this from happening, install the packages in this
  645. order:
  646.  
  647.         Curses/Terminfo End User Package
  648.         Development Set 3.5x
  649.         Curses/Terminfo Programmers Package
  650.  
  651. ---------------------------------------------------------------------
  652. 23) Why is the machine is booting over and over?
  653.  
  654.     The stock /etc/rc that called when the machine boots up writes
  655. the output of the fsck(1M) to the hard disk (/etc/.lastfsck).  This is
  656. definitely a problem.  Many people prefer having control over what
  657. fsck does rather than running fsck with the "-y" option and having it
  658. do all the work.  A lot of times fsck will delete files or clear them
  659. and you have no control over what it's doing.
  660.  
  661.     Check out the fsokay.cpio.Z package on OSU, it contains some
  662. enhanced /etc/rc scripts and tools to make the booting phase of the
  663. UNIX PC a lot cleaner and more reliable.
  664.  
  665. ------------------------------------------------------------------------
  666. 24) Is HoneyDanBer UUCP available to replace the stock uucp software?
  667.  
  668.     HDB binaries and documentation are available on OSU as the
  669. following files:
  670.         ~/att7300/STORE/HDB3.5+IN.Z
  671.         ~/att7300/STORE/HONEYDOCS+IN.Z
  672.  
  673. ------------------------------------------------------------------------
  674. 25) Why doesn't the On-Board Modem (OBM) work with some other modems?
  675.  
  676.     One problem is that the OBM seems to create answerback tones
  677. which identifies itself (for some reason) as an MNP reliable modem
  678. (!).  This confuses some MNP modems and the Telebit Trailblazer (only
  679. if set in MNP reliable mode).  These cannot be altered in the OBM, but
  680. often a system which cannot call the UNIX PC OBM can be called by the
  681. UNIX PC OBM.
  682.  
  683.     Another problem is that the OBM has trouble establishing a
  684. UUCP connection when calling Telebits configured in locked-speed mode.
  685. Chris Lewis (clewis@ferret.ocunix.on.ca) has written a program called
  686. phfix which can be invoked from /etc/rc to correct this particular
  687. problem using the (undocumented?) PIOCOVSPD setting on the OBM.  The
  688. result is that the OBM can successfully connect with locked-speed
  689. Telebits, and they can connect back.  The program is not on OSU or in
  690. any comp.sources.3b1 archives, so it is presented here:
  691.  
  692. /*    Sample program for bashing the OBM into tone dial and
  693.     setting PIOCOVSPD to permit talking to certain modems
  694.     (particularly telebits).
  695.     The documentation mentions 2.3% speed change for PIOCOVSPD.
  696.     That's all I know.
  697.  
  698.     You are free to do whatever you wish with this code, but
  699.     please leave this comment in.
  700.  
  701.     Chris Lewis, clewis@ecicrl.uucp, Jan 2 1991.
  702.  */
  703. #include <stdio.h>
  704. #include <fcntl.h>
  705. #include <sys/phone.h>
  706.  
  707. main(argc, argv)
  708. int argc; char **argv; {
  709.     int f;
  710.     struct updata upd;
  711.     f = open("/dev/ph1", O_RDWR | O_NDELAY, 0);
  712.     if (f < 0) {
  713.     perror("/dev/ph1");
  714.     exit(1);
  715.     }
  716.     ioctl(f, PIOCGETP, &upd);    /* retrieve Phone parameters */
  717.  
  718. #ifdef    NEVER
  719.     /* if you want to play with these go ahead - for some reason my
  720.        3b1 always comes up in PULSE */
  721.     upd.c_lineparam &= ~PULSE;    /* reverse the sense to set to pulse dial */
  722.     upd.c_lineparam |= DTMF;    /* reverse the sense to set to pulse dial */
  723.  
  724.     upd.c_feedback |= SPEAKERON;
  725.     upd.c_feedback |= LOUDSPK;
  726.     ioctl(f, PIOCDISC, &upd);    /* apply PIOCOVSPD for talking to some modems*/
  727. #endif
  728.  
  729.     ioctl(f, PIOCOVSPD, &upd);    /* apply PIOCOVSPD for talking to some modems,
  730.                    eg: Telebits */
  731.     ioctl(f, PIOCSETP, &upd);    /* set phone parameters */
  732. }
  733.  
  734. ------------------------------------------------------------------------
  735. 26) How do I get my on-board modem to be a dial-out-only modem?
  736.  
  737.     The easiest way to do this is to edit (with your favorite
  738. editor) the /etc/inittab file.  Change the line:
  739.  
  740.          ph0:2:respawn:/etc/getty ph0 1200
  741.     to:
  742.          ph0:2:off:/etc/getty ph0 1200
  743.         ^
  744.     NOTE: There is a space character in front of the first "ph0"
  745. in the lines above.  ph0 may be ph1 if you are using line 2 for the
  746. on-board modem.
  747.  
  748. ------------------------------------------------------------------------
  749. 27) Does the on-board modem support 2400 bps?
  750.  
  751.     In what Convergent considered future releases of the UNIX PC
  752. (P6), there was to be a 2400 bps modem.  This machine was never fully
  753. developed to production levels, and therefore there is no 2400 bps
  754. modem.  As the existing OBM is a proprietary AT&T chip, the likelihood
  755. of there being a drop-in upgrade is remote at best.
  756.  
  757.     Interesting trivia: The P6 machine was to have a color video,
  758. 60MB QIC tape, as well as a 68020 CPU paired with a 68881 FPU.
  759.  
  760. ------------------------------------------------------------------------
  761. 28) Why aren't the lpadmin, accept, and reject commands working right?
  762.  
  763.     The lpadmin(1M), accept(1M), and reject(1M) commands require
  764. the user to be logged in as (or su'd to) user "lp".  Being root will
  765. not work.
  766.  
  767.         # su lp
  768.         $ disable lp1
  769.         $ /usr/lib/lpadmin -plp1 -mdumb -v/dev/lp
  770.         $ enable lp1
  771.  
  772. ------------------------------------------------------------------------
  773. 29) Why are all the jobs on the printer always followed by a formfeed?
  774.  
  775.     The line printer driver follows each close(2) of /dev/lp with
  776. a formfeed.  There is no way to disable this, except by avoiding the
  777. driver altogether and going straight to the raw printer device.
  778.  
  779.         # su lp
  780.         $ /usr/lib/lpadmin -plp1 -mdumb -v/dev/rawlp
  781.  
  782. ------------------------------------------------------------------------
  783. 30) Why can't I send bitmapped images to the printer correctly?
  784.  
  785.     8-bit, bitmapped images need to go to the raw printer device,
  786. /dev/rawlp.
  787.  
  788. ------------------------------------------------------------------------
  789. 31) How do I configure a Hayes compatible external modem on the UNIX PC?
  790.  
  791.     Thanks to Jim Adams, included in the OSU Archives is an
  792. informational posting (posted to unix-pc.uucp and comp.sys.att) on how
  793. to set up your external modem under HDB uucp.  The file is named
  794. HDB_Modem.Z.
  795.  
  796.     The file uses the "hayes" modem as the example, although
  797. information could probably be extracted for uses with other modems.
  798. If you want information on how to set up your Telebit Trailblazer
  799. modem, get the file tb-setup.sh.Z on OSU.
  800.  
  801.     This posting was too large to include in its entirety here, so
  802. a completely separate posting was made.  He goes into how to set up
  803. the modem, proper cabling, proper Devices and Dialers entries, and a
  804. discussion on HFC (hardware flow control).
  805.  
  806.     Additionally, the "modemon" package by Boyd Ostroff provides a
  807. simple way to configure external modems.  It consists of a small
  808. program executed via inittab which can reset your modem and execute
  809. any desired AT commands each time a getty is spawned on the serial
  810. port.  This allows you to configure the modem differently for incoming
  811. and outgoing calls and is especially handy if your modem doesn't have
  812. nonvolatile parameter RAM.  The package includes complete
  813. documentation and examples of how to set up an external modem.  It was
  814. posted to comp.sources.3b1 and is available in the archives.
  815.  
  816. ------------------------------------------------------------------------
  817. 32) Any tips on building Cnews?
  818.  
  819.     A sample build.def from Jan Isley (jan@bagend.uucp) follows
  820. with the following interesting characteristics noted:
  821.     - news account is uid=20, gid=20
  822.     - bin owns the executables
  823.     - using Doug Gwyn's dirent library (available on OSU)
  824.     - using a mailer that understands @ addressing (like smail 2.5)
  825.     - UNIX PC kernel does not support setuid(geteuid())
  826.     - other site-specific stuff (machine name and organization)
  827.  
  828. newsuid="news"
  829. newsgid="news"
  830. binuid="bin"
  831. bingid="bin"
  832. binsrc="no"
  833. mess="no"
  834. unmess="no"
  835. newsarts="/usr/spool/news"
  836. newsctl="/usr/lib/news"
  837. newsbin="/usr/lib/newsbin"
  838. newsumask="002"
  839. newsmaster="usenet"
  840. newsconfig="/usr/lib/news/bin/config"
  841. chown="/bin/chown"
  842. chboth="yes"
  843. chgrp="/bin/chgrp"
  844. unixkind="usg"
  845. addrsize="big"
  846. dbmopt=""
  847. faststdio="no"
  848. storeval="yes"
  849. faststrchr="yes"
  850. sete="no"
  851. ranlib="no"
  852. symdef="yes"
  853. cc="ccc"
  854. copts="-O"
  855. ldopts="-s"
  856. postlibs="-ldirent"
  857. hostname="no"
  858. uname="yes"
  859. uucptype="hdb"
  860. dftype="ustat"
  861. dfdirs="no"
  862. archive="yes"
  863. spacelow="yes"
  864. nfsgroup="no"
  865. server="newsie"
  866. manpages="/usr/man"
  867. manmess="no"
  868. rbin="/usr/bin"
  869. doui="no"
  870. bin="/usr/bin"
  871. atok="yes"
  872. postdefltdist=""
  873. paranoid="no"
  874. whoami="bagend"
  875. mailname="bagend.uucp"
  876. organization="1 Bagshot Row, the Shire"
  877. postdefltgroup=""
  878. newspath="/bin:/usr/bin:/usr/local/bin"
  879. fake=" fsync.o mkdir.o symlink.o strerror.o"
  880. fakehdrs=" ../include/string.h ../include/sys/timeb.h"
  881. immediate="no"
  882. inputstall="yes"
  883. defsub=""
  884. mustsub=""
  885.  
  886. ------------------------------------------------------------------------
  887. 33) What are lipc and nipc, and how can I use nipc instead of lipc?
  888.  
  889.     /etc/lddrv/lipc is the loadable device driver that implements
  890. System V inter-process communications on the UNIX PC (semget(), etc.).
  891. /etc/lddrv/nipc is a newer implementation of this driver which fixes
  892. an IPC bug, but was never fully tested.  The default driver loaded by
  893. /etc/lddrv/drivers is lipc, and in fact, this is the driver which the
  894. program ipcs looks for when it reports on IPC usage.  No bugs with nipc
  895. have been uncovered since it was made available (87?), and many people
  896. would rather run the "better" driver than stick with the old lipc.
  897.  
  898.     There are two approaches for replacing lipc with nipc.  The
  899. most obvious way is to edit /etc/lddrv/drivers to replace lipc with
  900. nipc for when the system is next booted, then replacing the in-core
  901. lipc with nipc with the following sequence:
  902.  
  903.         # cd /etc/lddrv
  904.         # ./lddrv -dv lipc
  905.         # ./lddrv -av nipc
  906.  
  907.     Unfortunately, ipcs will not find the lipc driver, and so
  908. won't give any IPC status.  This can be overcome by wielding a binary
  909. editor in the general direction of /usr/bin/ipcs, replacing the
  910. hard-coded instances of "lipc" with "nipc".
  911.  
  912.     Another method is to remove lipc from core (./lddrv -dv lipc),
  913. rename its files to something benign (lipc -> lipc.old, lipc.o ->
  914. lipc.o.old, ifile.lipc -> ifile.lipc.old), rename the nipc files to be
  915. lipc (nipc -> lipc, nipc.o -> lipc.o, ifile.nipc -> ifile.lipc), and
  916. finally reload the new lipc (./lddrv -av lipc).
  917.  
  918. ------------------------------------------------------------------------
  919. -- Upgrading -----------------------------------------------------------
  920.  
  921. ------------------------------------------------------------------------
  922. 34) What third-party hardware is available?
  923.  
  924.     Presently there are no known distributors that have a
  925. selection of UNIX PC hardware.  The best source for hardware is the
  926. network, reading comp.sys.3b1 and misc.forsale.  There is always
  927. someone selling UNIX PCs and the appropriate hardware expansion.
  928.  
  929. ------------------------------------------------------------------------
  930. 35) Can I put a 68881 math coprocessor in my machine?
  931.  
  932.     AT&T had listed a 68881 feature as being available for the
  933. UNIX PC, but it was never fully developed.
  934.  
  935. ------------------------------------------------------------------------
  936. Local Variables:
  937. mode: outline
  938. outline-regexp: "-- [a-zA-Z]+\\|60\\|[0-9]+)"
  939. eval: (hide-body)
  940. End:
  941.  
  942. --
  943. John B Bunch             * * *   I don't want the world, I just want your
  944. 280 Quail St. 1st Floor  * * *            half....     -TMBG
  945. Albany, NY 12208        *  *  *          jbunch@nyx.cs.du.edu
  946. (518) 436-3810         *   *   *      Proud Albany has Gay Rights!
  947.